Skip to content

Conversation

@rahmanrafi
Copy link

Fixes #127

Currently, the trap kills the main process and tries to call the signal handler (term_handler); this seems to cause a segmentation fault, which is being logged to the host's syslog.

This update is a simple change to kill the most recent background process (if any) instead, and then calls term_handler, which will terminate the main process. With this change, no segfault errors are logged in the host machine.

@mpfz0r
Copy link

mpfz0r commented Nov 5, 2025

thank you! LGTM. is there a reason why this can't be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

segfault in ld-musl-x86_64.so.1

2 participants